<template>
    <div class="header">
      <!-- <van-nav-bar
        title="标题"
        left-text="返回"
        left-arrow
        /> -->
    </div>
    <!-- <div class="main"></div> -->
    <RouterView class="main" name="default"></RouterView>

    <!-- 命名视图footer => 配合 路由配置component/components -->
    <router-view name="footer"></router-view>
</template>

<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'

</script>

<style lang="scss" scoped>  
  // sass scss  
  .main{
    flex: 1;
    overflow-y: auto;
  }

</style>
